import React, { Component } from 'react';
//引用赋值（浅拷贝）
var obj={
    name:"pengke"
}
var obj2=obj;
obj2.name="studyPeng"
console.log(obj,obj2)

//比浅拷贝多一层
var myobj={
    name:"pengke"
}
var myobj2={
    ...myobj
}
myobj2.name="StudyPeng"
console.log(myobj,myobj2)
class Immu01 extends Component {
    render() {
        return (
            <div>
                Immu01
            </div>
        );
    }
}

export default Immu01;